package com.fyl.security.service;

import com.fyl.core.advance.constant.IResponseEnum;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface OAuthService {

    IResponseEnum doCheckHandler(HttpServletRequest request);

    default boolean preCheckHandler(HttpServletRequest request) {
        return true;
    }

    default void postCheckHandler(HttpServletResponse response) {
    }
}
